<!--
 * @Description: 控制台
 * @Author: 0001100986/LiuShuai
 * @Date: 2021-06-22 14:09:49
 * @LastEditTime: 2021-07-01 16:27:36
 * @LastEditors: 0001100986/LiuShuai
-->
<template>
  <div class="task console">
    <sum-card />
    <el-row :gutter="20">
      <el-col :xs="24" :sm="12" :lg="8">
        <ne-count />
      </el-col>
      <el-col :xs="24" :sm="12" :lg="16">
        <ne-top5 />
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :xs="24" :sm="12" :lg="8">
        <alarm-count />
      </el-col>
      <el-col :xs="24" :sm="12" :lg="16">
        <alarm-list />
      </el-col>
    </el-row>
  </div>
</template>

<script>
import SumCard from '@/components/Views/SumCard';
import NeCount from '@/components/Views/NeCount';
import NeTop5 from '@/components/Views/NeTop5';
import AlarmCount from '@/components/Views/AlarmCount';
import AlarmList from '@/components/Views/AlarmList';

export default {
  components: {
    SumCard,
    NeCount,
    NeTop5,
    AlarmCount,
    AlarmList
  }
};
</script>

<style lang="scss" scoped>
.console {
  height: 100%;

  &::-webkit-scrollbar {
    width: 0px !important;
  }

  ::v-deep .card-box {
    width: 100%;
    background: #fff;
    position: relative;
    box-sizing: border-box;
    border-radius: 3px;
    margin-bottom: 20px;
    .head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-right: 20px;
      padding: 10px 0;
      border-bottom: 1px solid #f0f0f0;
      position: relative;
      z-index: 999;

      .line-title {
        padding: 0 13px;
        display: flex;
        align-items: center;

        i {
          display: inline-block;
          width: 24px;
          height: 24px;
          line-height: 24px;
          text-align: center;
          border-radius: 50%;
          color: #1890ff;
          background-color: rgb(230, 247, 255);
          font-size: 15px;
        }

        span {
          color: #555;
          font-size: 15px;
          margin-left: 10px;
        }
      }
    }
  }
}
</style>